package com.macro.mall.portal.service.impl;

import com.macro.mall.model.ExpressResponse;
import com.macro.mall.portal.service.ExpressService;
import com.macro.mall.portal.util.ExQueryUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName ExpressServiceImpl
 * @Description 描述
 * @Author bai
 * @Date 2024/10/31 11:17
 */

@Service
public class ExpressServiceImpl implements ExpressService {

    @Autowired
    private ExQueryUtils exQueryUtils;


    @Override
    public ExpressResponse query(String expressNo) {
        ExpressResponse response = exQueryUtils.expressQuery(expressNo);
        return response;
    }
}
